package com.BBb.web.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.BBb.dal.dao.gift_packageDao;
import com.BBb.dal.object.gift_package;

@RequestMapping("/user")
@Controller
public class SuperUserController {
	@Resource
	gift_packageDao gift_packageDao;
	@RequestMapping("/index")
	public ModelAndView TZLogin(){
		List<gift_package> list1 = gift_packageDao.UserByLoginName();
		List<gift_package> list2 = gift_packageDao.querylist();
		if (list1.size()>0) {
			
		}
		return new ModelAndView("/Login");
	}
}
